From 8a98566991e64091e44e7a816c9dccc5986e0a70 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Tue, 1 Sep 2026 12:53:20 +0100 Subject: [PATCH] remove unnecessary libS logic (closes: #1146381) This code wasn't doing anything in Debian (since "@libdir@" is always already on the search path), but the difference in the pcre2-config file itself was causing multi-arch problems, so remove it. [similar to our older fix for #805941 which I thought wasn't necessary any more because the output was always empty on Debian, but I'd missed that it made the file itself different on different arches, which is a multi-arch issue] --- pcre2-config.in | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pcre2-config.in b/pcre2-config.in index ab8ee14..9ec43ce 100644 --- a/pcre2-config.in +++ b/pcre2-config.in @@ -30,19 +30,6 @@ fi libR= libS= -case "@libdir@" in - # system locations on Linux, no -L needed - /usr/lib|/usr/lib32|/usr/lib64|/usr/lib/*-gnu*) - ;; - /lib|/lib32|/lib64|/lib/*-gnu*) - ;; - # system locations on AIX and Solaris, no -L needed - /usr/lib/64|/usr/lib/amd*|/usr/lib/sparc*|/usr/lib/ppc*) - ;; - *) - libS="-L@libdir@" - ;; -esac while test $# -gt 0; do case "$1" in -- 2.30.2